/* ==================== 新增样式 ==================== */

/* 安全提示横幅 */
.security-banner {
    background: #e6f7ff;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.security-banner i {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 15px;
}

.security-banner div {
    font-size: 1rem;
}

/* 登录区域 */
.login-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 40px auto;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #4e89ae);
}

.login-section h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #ff6b6b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.form-footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.form-footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 水平线样式 */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
    margin: 40px auto;
    max-width: 800px;
}

/* 表格样式 */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.stats-table th, .stats-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: center;
}

.stats-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.stats-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.stats-table tr:hover {
    background-color: #f1f2f6;
}

/* 产品页面安全提示 */
.product-main .security-banner {
    max-width: 1200px;
    margin: 20px auto;
}

/* 新闻页面安全提示 */
.news-container .security-banner {
    max-width: 1200px;
    margin: 20px auto;
}


/* 团队展示样式 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

/* 商品弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    width: 70%;
    max-width: 800px;
    border-radius: 10px;
}

/* 新闻卡片样式 */
.news-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 30px;
}


/* 商品筛选区样式 */
.filter-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-header h3 {
    font-size: 1.2rem;
    color: #333;
}

.filter-reset {
    color: #3498db;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.filter-group h4 {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #666;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 15px;
    background: #f5f5f5;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background: #3498db;
    color: white;
}

.price-range {
    padding: 10px 0;
}

.price-slider {
    width: 100%;
    margin: 10px 0;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

/* 商品网格布局 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}